package com.xiaooqi.springboot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
// 开启扫描mapper下的接口以及子目录
@MapperScan(basePackages = "com.xiaoqi.springboot.mapper")
public class Springboot7springbootMybatisApplication {

    public static void main(String[] args) {
        SpringApplication.run(Springboot7springbootMybatisApplication.class, args);
    }

}
